package com.aaa.demo07;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author 荆豪峰
 * @version 1.0
 */
public class Test07 {
    public static void main(String[] args) {

    }
}
@Target(value = {ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@interface  one{
    String names() default "拉拉";
    String [] student();
    Two t() ;
}


@interface Two{
    String username() default "";
    String value();
}
@one(  student ="张三",t= @Two( "李四"))
class   regretful{

}